﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace HengTong.DataAccess.Migrations
{
    /// <inheritdoc />
    public partial class 人员履历增加原部门岗位现部门岗位字段 : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "NewDepartmentPosition",
                table: "SysPersonResume",
                type: "nvarchar(256)",
                maxLength: 256,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "OriginalDepartmentPosition",
                table: "SysPersonResume",
                type: "nvarchar(256)",
                maxLength: 256,
                nullable: true);
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "NewDepartmentPosition",
                table: "SysPersonResume");

            migrationBuilder.DropColumn(
                name: "OriginalDepartmentPosition",
                table: "SysPersonResume");
        }
    }
}
